/*
 *  Licensed Materials - Property of IBM
 *  5725-G92 (C) Copyright IBM Corp. 2011, 2013. All Rights Reserved.
 *  US Government Users Restricted Rights - Use, duplication or
 *  disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 */

function getLocation(gpsLat, gpsLong) {
	path = "/maps/api/geocode/json?latlng=" + gpsLat + "," + gpsLong + "&sensor=false";
	
	var input = {
	    method : 'get',
	    returnedContentType : 'json',
	    path : path
	};
	
	return WL.Server.invokeHttp(input);
}